package me.hellp.helloworld.design.visitor;

/**
 * 访问者
 * 
 * @author linxm
 *
 */
public class Visitor implements IVisitor {

	public void visit(ConcreteElement1 el1) {
		el1.doSomething();
	}

	public void visit(ConcreteElement2 el2) {
		el2.doSomething();
	}
}